package Messages;

import java.util.Vector;

public class MessageAddNewOrderReply extends Message {
	private boolean result;
	private Vector<Integer> ids;
	private Vector<DataObjects.Order> orders;
	
	
	public MessageAddNewOrderReply(boolean res){
		super(Message.MessageType.MESSAGE_ADD_NEW_ORDER_REPLY);
		this.result = res;
		this.ids = ids;
		this.orders = orders;
	}
	
	public boolean getResult(){
		return this.result;
	}
	
	public Vector<Integer> getIDs(){
		return this.ids;
	}
	
	public Vector<DataObjects.Order> getSavedOrders(){
		return this.orders;
	}
}
